package com.onlineshop.highgee.common;

import java.sql.Connection;
import java.sql.DriverManager;

public class JdbcUtil {
	public static Connection getConnection() throws Exception {
		/**
		 * 目前锟斤拷 锟斤拷锟斤拷锟斤拷锟斤拷 小锟斤拷 硬锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷目锟叫讹拷锟斤拷诺锟斤拷锟斤拷锟斤拷募锟� properties
		 * xml
		 */
		Class.forName("com.mysql.jdbc.Driver");
		return DriverManager.getConnection("jdbc:mysql://localhost:3306/highgee", "root", "root");

	}
}
